<h1>Buscar <%= @tipo %></h1>

<%= start_form_tag :action => 'hacerbusqueda' %>
  <%= render :partial => 'campos_comunes' %>
  <%= render :partial => "campos_" + @tipo if @tipo != nil %>
  <%= submit_tag "Buscar" %>
<%= end_form_tag %>

<%= link_to 'Back', :action => 'list' %>
